<?php
	include_once "binhluan_quanly_db.php";
	
	class binhluan_quanly_bs
	{
		//--------------Field---------------
		private $ChoPhepBinhLuan = -1;
		public function SetChoPhepBinhLuan($ChoPhepBinhLuan)       { $this->ChoPhepBinhLuan = $ChoPhepBinhLuan;        }
		public function GetChoPhepBinhLuan()                       { return $this->ChoPhepBinhLuan;                    }
		
		private $Captcha = -1;
		public function SetCaptcha($Captcha)                        { $this->Captcha = $Captcha;                       }
		public function GetCaptcha()                                { return $this->Captcha;                           }
		
		private $KiemDuyet = -1;
		public function SetKiemDuyet($KiemDuyet)                    { $this->KiemDuyet = $KiemDuyet;                   }
		public function GetKiemDuyet()                              { return $this->KiemDuyet;                         }
		
		private $DoDaiToiDa = -1;
		public function SetDoDaiToiDa($DoDaiToiDa)                  { $this->DoDaiToiDa = $DoDaiToiDa;                 }
		public function GetDoDaiToiDa()                             { return $this->DoDaiToiDa;                        }
		
		private $SoBinhLuanMoiTrang = -1;
		public function SetSoBinhLuanMoiTrang($SoBinhLuanMoiTrang)  { $this->SoBinhLuanMoiTrang = $SoBinhLuanMoiTrang; }
		public function GetSoBinhLuanMoiTrang()                     { return $this->SoBinhLuanMoiTrang;                }
		
		//--------------Method---------------
		public function Them()
		{
			$data = new binhluan_quanly_db();
			return $data->Them($this->ChoPhepBinhLuan, $this->Captcha, $this->KiemDuyet, $this->DoDaiToiDa, $this->SoBinhLuanMoiTrang);
		}
		
		public function CapNhat()
		{
			$data = new binhluan_quanly_db();
			return $data->CapNhat($this->ChoPhepBinhLuan, $this->Captcha, $this->KiemDuyet, $this->DoDaiToiDa, $this->SoBinhLuanMoiTrang);
		}
		
		public function LayDanhSach()
		{
			$data = new binhluan_quanly_db();
			return $data->LayDanhSach();
		}
	}
?>